import request from '@/utils/request'

// 获取用户信息
export function getUserInfo () {
  return request.get('/sys/profile')
}
// 登录
export const login = data => {
  return request.post('/sys/login', data)
}
